<%@ page language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>

	<head>
		 <meta charset="utf-8">
         <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
         <title></title>
		 <link href="<%=request.getContextPath()%>/static/mobile/partner/statis/css/style.css" type="text/css" rel="stylesheet" />
	     <script src="<%=request.getContextPath()%>/static/mobile/partner/statis/js/echarts.min.js"></script>
	</head>

<body>
	
	<div class="wary">
		<!--<div class="header">
			<span>&lt;</span>
			<span>幸福小超进货明细</span>
		</div>-->
		
		<div class="content">
			<!--营销-->
			<!--<div class="stock">
				<div class="stock-d">
					<div>营销利润</div>
					<div>截至：2018-03-01</div>
				</div>
				<div class="stock-dd">
					<div>44278.00</div>
					<div>元</div>
				</div>
			</div>-->
			<!--进货-->
			<!--<div class="stock">
				<div class="stock-d">
					<div>进货总额</div>
					<div>截至：2018-03-01</div>
				</div>
				<div class="stock-dd">
					<div>44278.00</div>
					<div>元</div>
				</div>
			</div>-->
			<!--订单-->
			<!--<div class="stock">
				<div class="stock-d">
					<div>订单数量</div>
					<div>截至：2018-03-01</div>
				</div>
				<div class="stock-dd">
					<div>908</div>
					<div>笔</div>
				</div>
			</div>-->
			<!--业绩-->
			<div class="performance">
				<div class="performance-d">
					<div>业绩折线图</div>
					<!--<div>17-12月</div>-->
				</div>
				
				
				<div class="break">
					<div id="main" style="width: 100%;height:500px;"></div>
				</div>
				
			</div>
			
			
			
		</div>
		
	</div>
	
<script>
	var myChart = echarts.init(document.getElementById('main'));
var option = {

    tooltip: {
        trigger: 'item',
        formatter: '{a} <br/>{b} : {c}'
    },
    legend: {
        left: 'left',
        data: ['订单数量', '进货总额']
    },
    xAxis: {
        type: 'category',
        name: 'x',
        splitLine: {show: true},
        data: ['1', '2', '3', '4', '5', '6','7','8','9','10','11','12月']
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    yAxis: {
        type: 'log',
        name: 'y'
    },
    series: [
        {
            name: '订单数量',
            type: 'line',
            data:  ${orderList}
        },
        {
            name: '进货总额',
            type: 'line',
            data: ${inMoneyList}
        }
    ]
};

myChart.setOption(option);
</script>
	
</body>
</html>